<?php /* Smarty version Smarty-3.1.13, created on 2014-01-01 23:34:04
         compiled from "E:\phpweb\ibo\templates\post.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2799352a871f9ed83d6-60008742%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a546c3612b3047b55b8d28b3e56a9528bd0bc9fb' => 
    array (
      0 => 'E:\\phpweb\\ibo\\templates\\post.tpl',
      1 => 1388590053,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2799352a871f9ed83d6-60008742',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_52a871fa04b4a3_75185697',
  'variables' => 
  array (
    'postelement' => 0,
    'posttags' => 0,
    'tag' => 0,
    'pre_post' => 0,
    'nxt_post' => 0,
    'postComents' => 0,
    'coment' => 0,
    'postid' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_52a871fa04b4a3_75185697')) {function content_52a871fa04b4a3_75185697($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("layouts/header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div class="container mt20">
	<div class="wrapper">
<?php echo $_smarty_tpl->getSubTemplate ("layouts/crumb.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

		<div id="texebox" class="mt15">
			<?php if ($_smarty_tpl->tpl_vars['postelement']->value!=null&&$_smarty_tpl->tpl_vars['postelement']->value!=''){?> 
			<div class="title titlet-bt">
				<h1><?php echo $_smarty_tpl->tpl_vars['postelement']->value->post_title;?>
</h1>
			</div>
			<div class="post-meta-top mt15">
				<span class="posts"><?php echo $_smarty_tpl->tpl_vars['postelement']->value->username;?>
</span> <span class=" time"><?php echo $_smarty_tpl->tpl_vars['postelement']->value->post_date;?>
</span>
				<span class="preview" id="clicknumspan"><font><?php echo $_smarty_tpl->tpl_vars['postelement']->value->click_count;?>
次</font></span> <span
					class="map">广州</span>
			</div>
			<div class="fmt mt20">
				<?php echo $_smarty_tpl->tpl_vars['postelement']->value->post_content;?>

			</div>
			<div class="texttag">
				<?php  $_smarty_tpl->tpl_vars['tag'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tag']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['posttags']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tag']->key => $_smarty_tpl->tpl_vars['tag']->value){
$_smarty_tpl->tpl_vars['tag']->_loop = true;
?>
						<a href='<?php echo $_smarty_tpl->tpl_vars['tag']->value['url'];?>
'><?php echo $_smarty_tpl->tpl_vars['tag']->value['name'];?>
</a>
				<?php } ?>
<!-- 				 <a href="#">世界杯</a> <a href="#">俄罗斯</a> -->
			</div>
			<div class="share mt20">
                <div class="jiathis_style_32x32">
				<span class="zan"><a  href="javascript:void(0)" id="zanyixiabtn">赞一下<font title="已赞次数">已赞<b id="agreecount"><?php echo $_smarty_tpl->tpl_vars['postelement']->value->agree_count;?>
</b>次</font></a></span>

                <!-- JiaThis Button BEGIN -->

                    <a class="jiathis_button_qzone"></a>
                    <a class="jiathis_button_tsina"></a>
                    <a class="jiathis_button_tqq"></a>
                    <a class="jiathis_button_weixin"></a>
                    <a class="jiathis_button_renren"></a>
                    <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
                    <a class="jiathis_counter_style"></a>
                </div>
			</div>
			<div class="page-n-p mt20">
				<div class="f_l text-prev">
					<?php if ($_smarty_tpl->tpl_vars['pre_post']->value!=null&&$_smarty_tpl->tpl_vars['pre_post']->value!=''){?> 
						<span>上一篇</span> <a href="<?php echo $_smarty_tpl->tpl_vars['pre_post']->value['url'];?>
"><h3><?php echo $_smarty_tpl->tpl_vars['pre_post']->value['name'];?>
</h3></a>
					<?php }?>
				
				</div>
				<div class="f_r text-next">
					<?php if ($_smarty_tpl->tpl_vars['nxt_post']->value!=null&&$_smarty_tpl->tpl_vars['nxt_post']->value!=''){?> 
						<span>下一篇</span> <a href="<?php echo $_smarty_tpl->tpl_vars['nxt_post']->value['url'];?>
"><h3><?php echo $_smarty_tpl->tpl_vars['nxt_post']->value['name'];?>
</h3></a>
					<?php }?>
				</div>
			</div>
			<?php }?>
			<div class="textcontent-ad mt20" id='postcontent'>
<!-- 				<img src="<?php echo @constant('WEBSITE_URL');?>
public/photo/726x30-AD.gif" /> -->
			</div>
			<div class="comments">
				<div class="title titlet-h mt15">参与讨论</div>
				<div class="commentslist mt15">
					<ul id="postcomentsul">
					<?php  $_smarty_tpl->tpl_vars['coment'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['coment']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['postComents']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['coment']->key => $_smarty_tpl->tpl_vars['coment']->value){
$_smarty_tpl->tpl_vars['coment']->_loop = true;
?>
						<li>
							<div class="textcommen">
								<div>
									<img
										src="<?php echo @constant('WEBSITE_URL');?>
<?php echo $_smarty_tpl->tpl_vars['coment']->value['user_photo'];?>
"
										width="79" height="79" /> <span><?php echo $_smarty_tpl->tpl_vars['coment']->value['username'];?>
</span>
									<time><?php echo $_smarty_tpl->tpl_vars['coment']->value['comment_date'];?>
</time>
									<p><?php echo $_smarty_tpl->tpl_vars['coment']->value['comment_content'];?>
</p>
									<a href="#postMessage" class="f_r">回复</a>
								</div>
							</div>
						</li>
						<?php } ?>
						<li>
							<form>
								<textarea id="postMessage"></textarea>
								<input type="button" id="post_comments" class="button but-c-hei mt15" value="评论">
							</form>
						</li>
					</ul>
				</div>
			</div>
		</div>
		<div class="rightsub">
			<div class="gameinfo">
				<div class="duiming">
					<font color="#e40000">利物浦</font> VS <font color="#004088">富勒姆</font>
					<time>比赛时间 : 11-15 05:40</time>
				</div>
				<div class="shenglv">
					<a href="#" class="sheng border-r"> <font
						class="shenglv-iocn shenglv-color-s">胜</font> 2.56
					</a> <a href="#" class="ping  border-r"> <font
						class="shenglv-iocn shenglv-color-p">平</font> 2.56
					</a> <a href="#" class="fu"> <font
						class="shenglv-iocn shenglv-color-f">负</font> 2.56
					</a>
				</div>
				<div class="touzhu">
					<form>
						投注金额<input type="text" class="text-inp" />元<input type="button"
							class="but-c-hei button f_r" value="投注" />
					</form>
				</div>
			</div>

			<div class="subad mt15" id="rightContent">
<!-- 				<a href="#"><img src="<?php echo @constant('WEBSITE_URL');?>
public/photo/300x300-AD.gif" /></a> -->
			</div>
            <?php echo $_smarty_tpl->getSubTemplate ("layouts/hottag.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

            <?php echo $_smarty_tpl->getSubTemplate ("layouts/email_sub.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

		</div>
	</div>
 
</div>
<script language="JavaScript">
         var weburl = '<?php echo @constant('WEBSITE_URL');?>
';
         var parms = {'id':<?php echo $_smarty_tpl->tpl_vars['postid']->value;?>
};
 </script>
<script type="text/javascript" src="http://v2.jiathis.com/code/jia.js" charset="utf-8"></script>

<?php echo $_smarty_tpl->getSubTemplate ("layouts/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php }} ?>